package com.xjscrm.console.chat.frame.recv;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 拉取机器人的会话, 包含聊天中或已结束的聊天
 *
 * @author mingyang.chen create in 2024/3/11 18:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RPullSessionMsg extends RPageMsg {

    @ApiModelProperty(value = "机器人id", required = true)
    private Long deviceUniqueId;

    @ApiModelProperty(value = "搜索内容")
    private String searchContent;

    @ApiModelProperty(value = "开始时间, 聊天记录页面使用")
    private Integer startTime;

    @ApiModelProperty(value = "结束时间, 聊天记录页面使用")
    private Integer endTime;

    @ApiModelProperty(value = "搜索员工Id, 聊天记录页面使用. 且只能是主账号")
    private Long searchStaffId;

    @ApiModelProperty("会话类型. 110:单聊, 111:群聊, 聊天记录页面使用")
    private Integer type;

    @ApiModelProperty(value = "会话Id集合", hidden = true)
    private List<Long> sessionIds;
}
